<template>
  <div class="lefttop">
    <div class="getter">个人成就</div>
    <div class="getim">
        <div class="praise common">
            <i class="iconfont icon-dianzan"></i>
            获得{{pariseNumber}}次点赞
        </div>
        <div class="comment common">
            <i class="iconfont icon-pinglun"></i>
            内容获得{{commentNumber}}次评论
        </div>
        <div class="collect common">
            <i class="iconfont icon-shoucang"></i>
            获得{{collectNumber}}次收藏
        </div>
    </div>
  </div>
</template>

<script>
export default {
    props:{
        pariseNumber:{
            type:Number,
            default:2122,
        },
        commentNumber:{
            type:Number,
            default:1314,
        },
        collectNumber:{
            type:Number,
            default:520,
        }
    },
    
}
</script>

<style scoped>
.lefttop{
    padding: 0 5px 10px 5px;
    background: #fff;
}
.getter{
    text-align: left;
    padding-left: 30px;
    font-size: 20px;
    font-weight: 700;
    line-height: 45px;
    border-bottom: 1px solid rgb(233, 233, 238); 
}
.getim{
    padding-left: 20px;
}
.common{
    text-align: left;
    margin-top: 15px;
    font-size: 14px;

}
.common>i{
    margin-right: 10px;
    font-size: 18px;
}
.praise>i{
    color: red;
}
.comment>i{
    color: blue;
}
.collect>i{
    color: yellow;
}
</style>